package com.hyl.dao.user;

import com.hyl.pojo.user.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author HYL
 * @create 2017-06-19 下午3:36
 **/
@Mapper
public interface UserMapper {

    @Select("select * from user where id  = #{id}")
    User findUserByUsernameAndPassword(User user);
}
